$OpenBSD: patch-src_sox_h,v 1.1 2016/09/22 19:58:22 sthen Exp $
--- src/sox.h.orig	Mon Oct  6 03:02:30 2014
+++ src/sox.h	Tue Sep 20 11:14:30 2016
@@ -44,7 +44,7 @@ Plugins API:
 Attribute required on all functions exported by libSoX and on all function
 pointer types used by the libSoX API.
 */
-#ifdef __GNUC__
+#if defined(__GNUC__) && defined(__i386)
 #define LSX_API  __attribute__ ((cdecl)) /* libSoX function */
 #elif _MSC_VER
 #define LSX_API  __cdecl /* libSoX function */
